[INFO] fetching crate polkavm 0.3.0...
[INFO] checking polkavm-0.3.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate polkavm 0.3.0 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate polkavm 0.3.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate polkavm 0.3.0
[INFO] finished tweaking crates.io crate polkavm 0.3.0
[INFO] tweaked toml for crates.io crate polkavm 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded polkavm-assembler v0.3.0
[INFO] [stderr]   Downloaded polkavm-linux-raw v0.3.0
[INFO] [stderr]   Downloaded polkavm-linker v0.3.0
[INFO] [stderr]   Downloaded polkavm-common v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f99f86934f45ea775b955d18047cf21f7d30f6024f4d44d9bb3d2b0421e46b39
[INFO] running `Command { std: "docker" "start" "-a" "f99f86934f45ea775b955d18047cf21f7d30f6024f4d44d9bb3d2b0421e46b39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f99f86934f45ea775b955d18047cf21f7d30f6024f4d44d9bb3d2b0421e46b39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f99f86934f45ea775b955d18047cf21f7d30f6024f4d44d9bb3d2b0421e46b39", kill_on_drop: false }`
[INFO] [stdout] f99f86934f45ea775b955d18047cf21f7d30f6024f4d44d9bb3d2b0421e46b39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0739f006b9650952a0d2d0aff8838c8aad68ff2ce38d3c94d305adf2a32a3a4
[INFO] running `Command { std: "docker" "start" "-a" "e0739f006b9650952a0d2d0aff8838c8aad68ff2ce38d3c94d305adf2a32a3a4", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling thiserror-core v1.0.50
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking polkavm-common v0.3.0
[INFO] [stderr]     Checking polkavm-assembler v0.3.0
[INFO] [stderr]     Checking bytemuck v1.14.3
[INFO] [stderr]     Checking polkavm-linux-raw v0.3.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking polkavm v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => &OLD_SIGSEGV,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => addr_of!(OLD_SIGSEGV),
[INFO] [stdout]     |                         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:286:24
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => &OLD_SIGILL,
[INFO] [stdout]     |                        ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => addr_of!(OLD_SIGILL),
[INFO] [stdout]     |                        ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:349:54
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, &mut OLD_SIGSEGV)?;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, addr_of_mut!(OLD_SIGSEGV))?;
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:350:53
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, &mut OLD_SIGILL)?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, addr_of_mut!(OLD_SIGILL))?;
[INFO] [stdout]     |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/sandbox/linux.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     Exited(c_int),
[INFO] [stdout]     |     ------ ^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 179 |     Exited(()),
[INFO] [stdout]     |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/sandbox/linux.rs:180:23
[INFO] [stdout]     |
[INFO] [stdout] 180 |     ExitedDueToSignal(c_int),
[INFO] [stdout]     |     ----------------- ^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 180 |     ExitedDueToSignal(()),
[INFO] [stdout]     |                       ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling thiserror-core-impl v1.0.50
[INFO] [stderr]     Checking polkavm-linker v0.3.0
[INFO] [stderr]     Checking ruzstd v0.4.0
[INFO] [stdout] error: couldn't read src/../../../examples/doom/roms/doom1.wad: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:284:29
[INFO] [stdout]     |
[INFO] [stdout] 284 |     const DOOM_WAD: &[u8] = include_bytes!("../../../examples/doom/roms/doom1.wad");
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_00120.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:365:36
[INFO] [stdout]     |
[INFO] [stdout] 365 |             120 => decompress_zstd(include_bytes!("../../../test-data/doom_00120.tga.zst")),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_01320.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 366 |             1320 => decompress_zstd(include_bytes!("../../../test-data/doom_01320.tga.zst")),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_09000.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:367:37
[INFO] [stdout]     |
[INFO] [stdout] 367 |             9000 => decompress_zstd(include_bytes!("../../../test-data/doom_09000.tga.zst")),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_10440.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:368:38
[INFO] [stdout]     |
[INFO] [stdout] 368 |             10440 => decompress_zstd(include_bytes!("../../../test-data/doom_10440.tga.zst")),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O3_dwarf5.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:401:18
[INFO] [stdout]     |
[INFO] [stdout] 401 |     doom(config, include_bytes!("../../../test-data/doom_O3_dwarf5.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O1_dwarf5.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:405:18
[INFO] [stdout]     |
[INFO] [stdout] 405 |     doom(config, include_bytes!("../../../test-data/doom_O1_dwarf5.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O3_dwarf2.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:409:18
[INFO] [stdout]     |
[INFO] [stdout] 409 |     doom(config, include_bytes!("../../../test-data/doom_O3_dwarf2.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/bench-pinky.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:419:25
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let blob = get_blob(include_bytes!("../../../test-data/bench-pinky.elf.zst"));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/pinky_00256.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:438:46
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let expected_frame_raw = decompress_zstd(include_bytes!("../../../test-data/pinky_00256.tga.zst"));
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/test-blob.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:450:25
[INFO] [stdout]     |
[INFO] [stdout] 450 |     let blob = get_blob(include_bytes!("../../../test-data/test-blob.elf.zst"));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => &OLD_SIGSEGV,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => addr_of!(OLD_SIGSEGV),
[INFO] [stdout]     |                         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:286:24
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => &OLD_SIGILL,
[INFO] [stdout]     |                        ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => addr_of!(OLD_SIGILL),
[INFO] [stdout]     |                        ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:349:54
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, &mut OLD_SIGSEGV)?;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, addr_of_mut!(OLD_SIGSEGV))?;
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:350:53
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, &mut OLD_SIGILL)?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, addr_of_mut!(OLD_SIGILL))?;
[INFO] [stdout]     |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `polkavm` (lib test) due to 12 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e0739f006b9650952a0d2d0aff8838c8aad68ff2ce38d3c94d305adf2a32a3a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0739f006b9650952a0d2d0aff8838c8aad68ff2ce38d3c94d305adf2a32a3a4", kill_on_drop: false }`
[INFO] [stdout] e0739f006b9650952a0d2d0aff8838c8aad68ff2ce38d3c94d305adf2a32a3a4
[INFO] checking polkavm-0.3.0 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate polkavm 0.3.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate polkavm 0.3.0 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate polkavm 0.3.0
[INFO] finished tweaking crates.io crate polkavm 0.3.0
[INFO] tweaked toml for crates.io crate polkavm 0.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a2cd4fb8d475066f43e4c634157359f105ddddd3ec904ece1aba843f830527d5
[INFO] running `Command { std: "docker" "start" "-a" "a2cd4fb8d475066f43e4c634157359f105ddddd3ec904ece1aba843f830527d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a2cd4fb8d475066f43e4c634157359f105ddddd3ec904ece1aba843f830527d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2cd4fb8d475066f43e4c634157359f105ddddd3ec904ece1aba843f830527d5", kill_on_drop: false }`
[INFO] [stdout] a2cd4fb8d475066f43e4c634157359f105ddddd3ec904ece1aba843f830527d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 043207e2350f7631907e3d991d472d14ed16df68213dbf67a00059c7e9f64e3e
[INFO] running `Command { std: "docker" "start" "-a" "043207e2350f7631907e3d991d472d14ed16df68213dbf67a00059c7e9f64e3e", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling thiserror-core v1.0.50
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking polkavm-common v0.3.0
[INFO] [stderr]     Checking polkavm-assembler v0.3.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking polkavm-linux-raw v0.3.0
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking bytemuck v1.14.3
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking polkavm v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/api.rs:658:18
[INFO] [stdout]     |
[INFO] [stdout] 658 |         for _ in 0..128 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/interpreter.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |         self.regs[1..].copy_from_slice(&config.initial_regs);
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/interpreter.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |         memory.get(offset as usize..offset as usize + length as usize)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/interpreter.rs:236:30
[INFO] [stdout]     |
[INFO] [stdout] 236 |         memory_slice.get_mut(offset..offset + length as usize)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/source_cache.rs:98:37
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let p = &version_string[version_string.find('(')? + 1..];
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/source_cache.rs:146:36
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let relative_path = &p[index + 1..];
[INFO] [stdout]     |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/source_cache.rs:193:22
[INFO] [stdout]     |
[INFO] [stdout] 193 |         contents.get(offset..next_offset).map(|s| s.trim_end())
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tracer.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 115 |         for nth in (0..self.program_counter_history.len()).rev() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/compiler.rs:133:32
[INFO] [stdout]     |
[INFO] [stdout] 133 |         for nth_instruction in 0..self.instructions.len() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/compiler.rs:191:25
[INFO] [stdout]     |
[INFO] [stdout] 191 |             let range = offset..offset + native_pointer_size;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:222:43
[INFO] [stdout]     |
[INFO] [stdout] 222 |         callback(&mut self.as_slice_mut()[offset..offset + length]);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:447:28
[INFO] [stdout]     |
[INFO] [stdout] 447 |             program_range: 0..0,
[INFO] [stdout]     |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:644:44
[INFO] [stdout]     |
[INFO] [stdout] 644 |                 self.memory.as_slice_mut()[offset..offset + program.rw_data.len()].copy_from_slice(&program.rw_data);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:645:44
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 self.memory.as_slice_mut()[offset + program.rw_data.len()..offset + self.memory_config.rw_data_size() as usize].fill(0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:679:25
[INFO] [stdout]     |
[INFO] [stdout] 679 |             let range = range.start as u64..range.end as u64;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:693:21
[INFO] [stdout]     |
[INFO] [stdout] 693 |         let range = address as u64..address as u64 + length as u64;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:703:21
[INFO] [stdout]     |
[INFO] [stdout] 703 |         let range = self.guest_memory_offset + address as usize..self.guest_memory_offset + address as usize + length as usize;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:709:21
[INFO] [stdout]     |
[INFO] [stdout] 709 |         let range = self.guest_memory_offset + address as usize..self.guest_memory_offset + address as usize + length as usize;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:826:50
[INFO] [stdout]     |
[INFO] [stdout] 826 |                 self.vmctx_mut().program_range = address..address + code.len() as u64;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:897:46
[INFO] [stdout]     |
[INFO] [stdout] 897 |             self.vmctx_mut().program_range = 0..0;
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:655:86
[INFO] [stdout]     |
[INFO] [stdout] 655 |             let count = match linux_raw::sys_read(self.0.memfd.borrow(), &mut buffer[position..]) {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:699:21
[INFO] [stdout]     |
[INFO] [stdout] 699 |         *p = &after[1..];
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:710:13
[INFO] [stdout]     |
[INFO] [stdout] 710 |     *p = &p[1..];
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:717:21
[INFO] [stdout]     |
[INFO] [stdout] 717 |             *p = &p[1..];
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:850:30
[INFO] [stdout]     |
[INFO] [stdout] 850 |         let mut code_range = 0..0;
[INFO] [stdout]     |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 867 |                 append!(init.ro_data(), cfg.ro_data_size());
[INFO] [stdout]     |                 ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 868 |                 append!(init.rw_data(), cfg.rw_data_size());
[INFO] [stdout]     |                 ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:870:30
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 code_range = offset..offset + init.code.len();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 871 |                 append!(init.code, cfg.code_size());
[INFO] [stdout]     |                 ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |                 append!(init.jump_table, cfg.jump_table_size());
[INFO] [stdout]     |                 ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:987:52
[INFO] [stdout]     |
[INFO] [stdout] 987 | ...                   tmp = &tmp[index + 1..];
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/sandbox/linux.rs:1258:22
[INFO] [stdout]      |
[INFO] [stdout] 1258 |             for _ in 0..spin_target {
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => &OLD_SIGSEGV,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => addr_of!(OLD_SIGSEGV),
[INFO] [stdout]     |                         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:286:24
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => &OLD_SIGILL,
[INFO] [stdout]     |                        ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => addr_of!(OLD_SIGILL),
[INFO] [stdout]     |                        ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:349:54
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, &mut OLD_SIGSEGV)?;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, addr_of_mut!(OLD_SIGSEGV))?;
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:350:53
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, &mut OLD_SIGILL)?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, addr_of_mut!(OLD_SIGILL))?;
[INFO] [stdout]     |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/sandbox/linux.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     Exited(c_int),
[INFO] [stdout]     |     ------ ^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 179 |     Exited(()),
[INFO] [stdout]     |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/sandbox/linux.rs:180:23
[INFO] [stdout]     |
[INFO] [stdout] 180 |     ExitedDueToSignal(c_int),
[INFO] [stdout]     |     ----------------- ^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 180 |     ExitedDueToSignal(()),
[INFO] [stdout]     |                       ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking polkavm-linker v0.3.0
[INFO] [stderr]    Compiling thiserror-core-impl v1.0.50
[INFO] [stderr]     Checking ruzstd v0.4.0
[INFO] [stdout] error: couldn't read src/../../../examples/doom/roms/doom1.wad: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:284:29
[INFO] [stdout]     |
[INFO] [stdout] 284 |     const DOOM_WAD: &[u8] = include_bytes!("../../../examples/doom/roms/doom1.wad");
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_00120.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:365:36
[INFO] [stdout]     |
[INFO] [stdout] 365 |             120 => decompress_zstd(include_bytes!("../../../test-data/doom_00120.tga.zst")),
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_01320.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:366:37
[INFO] [stdout]     |
[INFO] [stdout] 366 |             1320 => decompress_zstd(include_bytes!("../../../test-data/doom_01320.tga.zst")),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_09000.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:367:37
[INFO] [stdout]     |
[INFO] [stdout] 367 |             9000 => decompress_zstd(include_bytes!("../../../test-data/doom_09000.tga.zst")),
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_10440.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:368:38
[INFO] [stdout]     |
[INFO] [stdout] 368 |             10440 => decompress_zstd(include_bytes!("../../../test-data/doom_10440.tga.zst")),
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O3_dwarf5.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:401:18
[INFO] [stdout]     |
[INFO] [stdout] 401 |     doom(config, include_bytes!("../../../test-data/doom_O3_dwarf5.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O1_dwarf5.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:405:18
[INFO] [stdout]     |
[INFO] [stdout] 405 |     doom(config, include_bytes!("../../../test-data/doom_O1_dwarf5.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/doom_O3_dwarf2.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:409:18
[INFO] [stdout]     |
[INFO] [stdout] 409 |     doom(config, include_bytes!("../../../test-data/doom_O3_dwarf2.elf.zst"));
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/bench-pinky.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:419:25
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let blob = get_blob(include_bytes!("../../../test-data/bench-pinky.elf.zst"));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/pinky_00256.tga.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:438:46
[INFO] [stdout]     |
[INFO] [stdout] 438 |     let expected_frame_raw = decompress_zstd(include_bytes!("../../../test-data/pinky_00256.tga.zst"));
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../../test-data/test-blob.elf.zst: No such file or directory (os error 2)
[INFO] [stdout]    --> src/tests.rs:450:25
[INFO] [stdout]     |
[INFO] [stdout] 450 |     let blob = get_blob(include_bytes!("../../../test-data/test-blob.elf.zst"));
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/api.rs:658:18
[INFO] [stdout]     |
[INFO] [stdout] 658 |         for _ in 0..128 {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/interpreter.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |         self.regs[1..].copy_from_slice(&config.initial_regs);
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/interpreter.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |         memory.get(offset as usize..offset as usize + length as usize)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/interpreter.rs:236:30
[INFO] [stdout]     |
[INFO] [stdout] 236 |         memory_slice.get_mut(offset..offset + length as usize)
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/source_cache.rs:98:37
[INFO] [stdout]    |
[INFO] [stdout] 98 |             let p = &version_string[version_string.find('(')? + 1..];
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/source_cache.rs:146:36
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let relative_path = &p[index + 1..];
[INFO] [stdout]     |                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/source_cache.rs:193:22
[INFO] [stdout]     |
[INFO] [stdout] 193 |         contents.get(offset..next_offset).map(|s| s.trim_end())
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tracer.rs:115:21
[INFO] [stdout]     |
[INFO] [stdout] 115 |         for nth in (0..self.program_counter_history.len()).rev() {
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/compiler.rs:133:32
[INFO] [stdout]     |
[INFO] [stdout] 133 |         for nth_instruction in 0..self.instructions.len() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/compiler.rs:191:25
[INFO] [stdout]     |
[INFO] [stdout] 191 |             let range = offset..offset + native_pointer_size;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:222:43
[INFO] [stdout]     |
[INFO] [stdout] 222 |         callback(&mut self.as_slice_mut()[offset..offset + length]);
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:447:28
[INFO] [stdout]     |
[INFO] [stdout] 447 |             program_range: 0..0,
[INFO] [stdout]     |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:644:44
[INFO] [stdout]     |
[INFO] [stdout] 644 |                 self.memory.as_slice_mut()[offset..offset + program.rw_data.len()].copy_from_slice(&program.rw_data);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:645:44
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 self.memory.as_slice_mut()[offset + program.rw_data.len()..offset + self.memory_config.rw_data_size() as usize].fill(0);
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:679:25
[INFO] [stdout]     |
[INFO] [stdout] 679 |             let range = range.start as u64..range.end as u64;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:693:21
[INFO] [stdout]     |
[INFO] [stdout] 693 |         let range = address as u64..address as u64 + length as u64;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:703:21
[INFO] [stdout]     |
[INFO] [stdout] 703 |         let range = self.guest_memory_offset + address as usize..self.guest_memory_offset + address as usize + length as usize;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:709:21
[INFO] [stdout]     |
[INFO] [stdout] 709 |         let range = self.guest_memory_offset + address as usize..self.guest_memory_offset + address as usize + length as usize;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:826:50
[INFO] [stdout]     |
[INFO] [stdout] 826 |                 self.vmctx_mut().program_range = address..address + code.len() as u64;
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/generic.rs:897:46
[INFO] [stdout]     |
[INFO] [stdout] 897 |             self.vmctx_mut().program_range = 0..0;
[INFO] [stdout]     |                                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:655:86
[INFO] [stdout]     |
[INFO] [stdout] 655 |             let count = match linux_raw::sys_read(self.0.memfd.borrow(), &mut buffer[position..]) {
[INFO] [stdout]     |                                                                                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:699:21
[INFO] [stdout]     |
[INFO] [stdout] 699 |         *p = &after[1..];
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:710:13
[INFO] [stdout]     |
[INFO] [stdout] 710 |     *p = &p[1..];
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:717:21
[INFO] [stdout]     |
[INFO] [stdout] 717 |             *p = &p[1..];
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:850:30
[INFO] [stdout]     |
[INFO] [stdout] 850 |         let mut code_range = 0..0;
[INFO] [stdout]     |                              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 867 |                 append!(init.ro_data(), cfg.ro_data_size());
[INFO] [stdout]     |                 ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 868 |                 append!(init.rw_data(), cfg.rw_data_size());
[INFO] [stdout]     |                 ------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:870:30
[INFO] [stdout]     |
[INFO] [stdout] 870 |                 code_range = offset..offset + init.code.len();
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 871 |                 append!(init.code, cfg.code_size());
[INFO] [stdout]     |                 ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:859:32
[INFO] [stdout]     |
[INFO] [stdout] 859 |                         buffer[offset..offset + $slice.len()].copy_from_slice($slice);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |                 append!(init.jump_table, cfg.jump_table_size());
[INFO] [stdout]     |                 ----------------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `append` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/sandbox/linux.rs:987:52
[INFO] [stdout]     |
[INFO] [stdout] 987 | ...                   tmp = &tmp[index + 1..];
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/sandbox/linux.rs:1258:22
[INFO] [stdout]      |
[INFO] [stdout] 1258 |             for _ in 0..spin_target {
[INFO] [stdout]      |                      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox.rs:298:26
[INFO] [stdout]     |
[INFO] [stdout] 298 |                 for _ in 0..THREAD_COUNT {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     sandbox_tests!(linux);
[INFO] [stdout]     |     --------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `sandbox_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox.rs:303:34
[INFO] [stdout]     |
[INFO] [stdout] 303 |                         for _ in 0..32 {
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     sandbox_tests!(linux);
[INFO] [stdout]     |     --------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `sandbox_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox.rs:298:26
[INFO] [stdout]     |
[INFO] [stdout] 298 |                 for _ in 0..THREAD_COUNT {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 560 |     sandbox_tests!(generic);
[INFO] [stdout]     |     ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `sandbox_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/sandbox.rs:303:34
[INFO] [stdout]     |
[INFO] [stdout] 303 |                         for _ in 0..32 {
[INFO] [stdout]     |                                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 560 |     sandbox_tests!(generic);
[INFO] [stdout]     |     ----------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `sandbox_tests` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tests.rs:334:26
[INFO] [stdout]     |
[INFO] [stdout] 334 |                     .get(offset as usize..offset as usize + length as usize)
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/tests.rs:361:22
[INFO] [stdout]     |
[INFO] [stdout] 361 |     for nth_frame in 0..=10440 {
[INFO] [stdout]     |                      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tests.rs:431:14
[INFO] [stdout]     |
[INFO] [stdout] 431 |     for _ in 0..256 {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:285:25
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => &OLD_SIGSEGV,
[INFO] [stdout]     |                         ^^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]     = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 285 |         sys::SIGSEGV => addr_of!(OLD_SIGSEGV),
[INFO] [stdout]     |                         ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: shared reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:286:24
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => &OLD_SIGILL,
[INFO] [stdout]     |                        ^^^^^^^^^^^ shared reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: shared references are dangerous since if there's any kind of mutation of that static while the reference lives, that's UB; use `addr_of!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 286 |         sys::SIGILL => addr_of!(OLD_SIGILL),
[INFO] [stdout]     |                        ~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:349:54
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, &mut OLD_SIGSEGV)?;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 349 |     register_signal_handler_for_signal(sys::SIGSEGV, addr_of_mut!(OLD_SIGSEGV))?;
[INFO] [stdout]     |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: mutable reference of mutable static is discouraged
[INFO] [stdout]    --> src/sandbox/generic.rs:350:53
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, &mut OLD_SIGILL)?;
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^ mutable reference of mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]     = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]     = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; use `addr_of_mut!` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 350 |     register_signal_handler_for_signal(sys::SIGILL, addr_of_mut!(OLD_SIGILL))?;
[INFO] [stdout]     |                                                     ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 43 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `polkavm` (lib test) due to 12 previous errors; 43 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "043207e2350f7631907e3d991d472d14ed16df68213dbf67a00059c7e9f64e3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "043207e2350f7631907e3d991d472d14ed16df68213dbf67a00059c7e9f64e3e", kill_on_drop: false }`
[INFO] [stdout] 043207e2350f7631907e3d991d472d14ed16df68213dbf67a00059c7e9f64e3e
